package com.wanyang.service;

import com.wanyang.bo.LevelBO;
import com.wanyang.vo.LevelTopVO;

import java.math.BigDecimal;
import java.util.List;

public interface LevelExperienceService {

    /**
     * 获取这个等级的经验值
     *
     * @param level
     * @return
     */
    BigDecimal getLevelExperience(Integer level);


    LevelBO upgradeIfPossible(Integer oldLevel, Integer oldExperience, Integer addExperience);

    List<LevelTopVO> listTop10();
}
